<template>
  <div>
    <el-row id="main-img">
      <el-col :span="24">
        <SwiperMain></SwiperMain>
      </el-col>
    </el-row>
    <!-- main -->
    <el-main>
      <div class="MainIndex">
        <div id="main-nav">
          <mainNav></mainNav>
        </div>

        <div class="IndexMain">
          <mainLeft />
          <mainRight />
        </div>
      </div>
    </el-main>
    <router-view/>
  </div>
</template>
<script>
import mainLeft from "components/main-body/main-left.vue";
import mainRight from "components/main-body/main-right.vue";
import mainNav from "components/nav/main-nav.vue";
import SwiperMain from "components/Swiper/swiperImg.vue";

export default {
  data() {
    return {};
  },
  computed: {},
  created() {},
  components: {
    mainLeft,
    mainRight,
    mainNav,
    SwiperMain,
  },
};
</script>
<style lang="scss" scoped>
.MainIndex {
  width: 1000px;
  margin: 0 auto;
}
#main-img-swiper {
  height: 450px;
}
.IndexMain {
  display: flex;
  justify-content: space-between;
}
</style>